builder-tool: Fix preserving properties
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Feb 2019 15:33:11 +0000 (10:33 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Feb 2019 15:34:32 +0000 (10:34 -0500)
commit915acce4702082432c1bd83afdfded8372a378b6
treebc74ae0fc6400cb1ee3aaa7d0a76296050860e18
parente0dac3ab732d21bf4029485cef5a179c91ce4a00
builder-tool: Fix preserving properties

We were looking at the wrong class names here, we need
to look at the owner type to match against our list.

This fixes problems where gtk-builder-tool simplify
inadvertedly loses hexpand or vexpand settings, messing
up layout, as recently happend in gtk4-widget-factory.
gtk/tools/gtk-builder-tool-simplify.c